import 'package:flutterdemo/generated/json/base/json_convert_content.dart';
import 'package:flutterdemo/generated/json/base/json_field.dart';

class CompareEntity with JsonConvert<CompareEntity> {
	@JSONField(name: "error_code")
	int errorCode;
	@JSONField(name: "error_msg")
	String errorMsg;
	@JSONField(name: "log_id")
	int logId;
	int timestamp;
	int cached;
	CompareResult result;
}

class CompareResult with JsonConvert<CompareResult> {
	double score;
	@JSONField(name: "face_list")
	List<CompareResultFaceList> faceList;
}

class CompareResultFaceList with JsonConvert<CompareResultFaceList> {
	@JSONField(name: "face_token")
	String faceToken;
}
